@BEGINEVENTS

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Berber Horsemen
owner=Saracens
veteran=yes
homecity=none
locations
28,78
20,78
4,78
32,78
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Barbary Pirate
owner=Saracens
veteran=no
homecity=none
locations
3,75
33,73
14,74
3,75
38,76
3,75
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Barbary Pirate
owner=Saracens
veteran=no
homecity=none
locations
33,73
14,74
3,75
38,76
3,75
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Timber
owner=Venetians
veteran=no
homecity=none
locations
64,6
73,9
58,6
69,9
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Timber
owner=Milanese
veteran=no
homecity=none
locations
40,6
endlocations
@ENDIF

IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Timber
owner=French
veteran=no
homecity=none
locations
19,13
18,2
0,10
1,35
endlocations
@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
Lured by the Duke of Milan into Italy, Charles VIII sets out at the head of his small army. Much diplomacy has already taken place, and most of the country, from the alps to Naples, is avoiding hostility with the French King.
ENDTEXT
GIVETECHNOLOGY
receiver=French
technology=58
MAKEAGGRESSION
who=French
whom=Aragonese
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Venice
ENDTEXT
CREATEUNIT
unit=Venetian Spy
owner=Venetians
veteran=no
homecity=none
locations
61,15
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Milan
ENDTEXT
CREATEUNIT
unit=Sforza Spy
owner=Milanese
veteran=no
homecity=none
locations
46,6
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Rome
ENDTEXT
CREATEUNIT
unit=Papal Spy
owner=Papacy
veteran=no
homecity=none
locations
54,38
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Florence
ENDTEXT
CREATEUNIT
unit=Medici Spy
owner=Medicis
veteran=no
homecity=none
locations
51,21
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Budapest
ENDTEXT
CREATEUNIT
unit=Hungarian Spy
owner=Hungarians
veteran=no
homecity=none
locations
90,2
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popular in Naples.
ENDTEXT
CREATEUNIT
unit=Spanish Spy
owner=Aragonese
veteran=no
homecity=none
locations
60,46
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A comely courtesan is becoming popuar in Valence
ENDTEXT
CREATEUNIT
unit=French Spy
owner=French
veteran=no
homecity=none
locations
20,22
18,2
endlocations
@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
The French king hires the first Swiss mercenary company to join his army on the march to Naples.
ENDTEXT
CREATEUNIT
unit=Swiss Pikemen
owner=French
veteran=no
homecity=none
locations
26,2
endlocations
@ENDIF

@IF
TURN
turn=1
@THEN
CREATEUNIT
unit=Swiss Pikemen
owner=French
veteran=no
homecity=none
locations
26,2
endlocations
@ENDIF

@IF
TURN
turn=171
@THEN
TEXT
The Turkish Sultan Suleiman the Magnificent, after much failed diplomacy, has appeared with his army on the doorstep of Belgrade. The Turkish troops immediately invest the city and begin a series of assaults.
ENDTEXT
CREATEUNIT
unit=Suleiman the Magnificent
owner=Saracens
veteran=no
homecity=none
locations
97,19
98,18
96,20
95,21
97,21
97,23
endlocations
@ENDIF

@IF
TURN
turn=169
@THEN
TEXT
Akinji and Sipahi raiders fan out ahead of the main Turkish army, which is even now threading its way through the mountains on its way to Hungary. These savage Turkish horsemen spread terror and disorder.
ENDTEXT
CREATEUNIT
unit=Sipahis
owner=Saracens
veteran=no
homecity=none
locations
98,32
endlocations
@ENDIF

@IF
TURN
turn=170
@THEN
TEXT
More Turkish raiders are appearing! The army of the Sublime Porte is closing on the Hungarian plain as the defenders of Belgrade prepare for seige and call on the help of the King and his army.
ENDTEXT
CREATEUNIT
unit=Sipahis
owner=Saracens
veteran=no
homecity=none
locations
91,19
endlocations
@ENDIF

@IF
TURN
turn=170
@THEN
CREATEUNIT
unit=Sipahis
owner=Saracens
veteran=no
homecity=none
locations
89,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
TEXT
Responding to the seizure of Naples, Spain has sent the Captain Gonsalvo de Cordoba to take command of the situation. With little more than 5000 men at his disposal, the Grand Capitan begins operations in Italy.
ENDTEXT
CREATEUNIT
unit=Gonsalvo de Cordoba
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
CREATEUNIT
unit=Sword and Buckler men
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
CREATEUNIT
unit=Spanish Arquebusiers
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
CREATEUNIT
unit=Spanish Crossbowmen
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
CREATEUNIT
unit=Spanish Knights
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Naples
attacker=anybody
defender=Aragonese
@THEN
CREATEUNIT
unit=Spanish Ginetes
owner=Aragonese
veteran=no
homecity=none
locations
62,48
63,53
66,64
56,68
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Messina
attacker=anybody
defender=Aragonese
@THEN
GIVETECHNOLOGY
receiver=Aragonese
technology=92
TEXT
The Aragonese fortress city of Messina has been occupied by foreign troops. The new Spanish monarchs, Ferdinand and Isabella, are now focusing their military efforts on the revolt in the low countries, where protestant dissent is growing steadily and open rebellion seems inevitable.
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Pisa
attacker=anybody
defender=Medicis
@THEN
GIVETECHNOLOGY
receiver=Medicis
technology=93
TEXT
Pisa, seaport of Tuscany, has been seized. The Pisan navy, cutoff from its source of supplies and sustenance, withers away. 
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Venice
attacker=anybody
defender=Venetians
@THEN
GIVETECHNOLOGY
receiver=Venetians
technology=94
TEXT
The great maritime trading state of Venice has been taken. Its allies and fortresses are now leaderless, and the Doge and nobility have fled.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=172
@THEN
MOVEUNIT
unit=anyunit
owner=Saracens
MAPRECT
90,18,98,18,90,26,98,26
MOVETO
95,17
numbertomove=all
@ENDIF

@IF
TURN
turn=173
@THEN
MOVEUNIT
unit=anyunit
owner=Saracens
MAPRECT
90,18,98,18,90,26,98,26
MOVETO
95,17
numbertomove=all
@ENDIF

@IF
TURN
turn=174
@THEN
MOVEUNIT
unit=anyunit
owner=Saracens
MAPRECT
90,18,98,18,90,26,98,26
MOVETO
95,17
numbertomove=all
@ENDIF

@IF
TURN
turn=175
@THEN
MOVEUNIT
unit=anyunit
owner=Saracens
MAPRECT
90,18,98,18,90,26,98,26
MOVETO
95,17
numbertomove=all
@ENDIF

@IF
CITYTAKEN
city=Belgrade
attacker=Saracens
defender=Hungarians
@THEN
TEXT
The TURK has taken Belgrade, homeland of the wretched Serbs, but ruled by the king of Hungary. The Sultan has let it be known that his army will march on Budapest within the year. Hungary braces for the assault.
ENDTEXT
MOVEUNIT
unit=anyunit
owner=Saracens
MAPRECT
92,16,98,16,92,20,98,20
MOVETO
90,2
numbertomove=all
CREATEUNIT
unit=Janissaries
owner=Saracens
homecity=none
veteran=yes
locations
95,17
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=150
@THEN
TEXT
Don John of Austria has financed a very large warship, a gallease, to fight against the heathen Turks. The gallease is slow and without grace of maneuver, yet is stout, can hold many soldiers, and will make a superb flagship for any fleet.
ENDTEXT
CREATEUNIT
unit=Gallease
owner=Aragonese
veteran=no
homecity=none
locations
56,68
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=35
@THEN
CREATEUNIT
unit=Sword and buckler men
owner=Aragonese
veteran=no
homecity=none
locations
56,68
endlocations
@ENDIF

@IF
TURN
turn=88
@THEN
TEXT
Francis, of the House Valois, has advanced to the French throne. He will gather his forces with the intent to invade Italy once again. 
ENDTEXT
CREATEUNIT
unit=Francis I
owner=French
veteran=no
homecity=none
locations
26,2
endlocations
MAKEAGGRESSION
who=French
whom=Aragonese
@ENDIF

@IF
UNITKILLED
unit=Francis I
attacker=Anybody
defender=French
@THEN
TEXT
Defeated in battle, the French king, Francis has been seized by his enemies and will now be held to ransom.
ENDTEXT
CHANGEMONEY
receiver=Triggerattacker
amount=300
@ENDIF

@IF
TURN
turn=150
@THEN
CREATEUNIT
unit=Khair-ed-Din
owner=Saracens
veteran=no
homecity=none
locations
93,73
92,78
91,67
89,65
endlocations
TEXT
A great priate leader, Khair-ed-Din, called Barbarossa, has risen to leadership and united the corsair-states of the Barbary coast. This ferocious and cunning Muslim buccaneer seems destined to become the terror of the Mediterranean Sea.
ENDTEXT
@ENDIF

@ENDEVENTS